package com.et114.modules.org.form;

import java.util.Date;
import java.util.List;

import org.apache.struts.upload.FormFile;

import com.et114.components.acegi.Constants;
import com.et114.core.form.BaseActionForm;

public class EmpForm extends BaseActionForm {
	private static final long	serialVersionUID	= - 2632639254283280389L;
	private Long grpId;
    private Long userId;
    private Long empId;
    private String empCode;
    private String empName;
    private String useLan;
    private String homeTelArea;
    private String homeTel;
    private String comTelArea;
    private String comTel;
    private String linkTelArea;
    private String linkTel;
    private String mobile;
    private String idType;
    private String idNo;
    private String nativPlace;
    private String nativAddr;
    private String linkAddr;
    private String linkZip;
    private String sex;
    private String birth;
    private String bloodType;
    private String eduLevel;
    private String email;
     private Date startDate ;
     private Date endDate ;
    private String jobState;
    private Long titleId;
    private String titleName;
    private String rmk;
    private String loginName;
    private String password;
    private Boolean workFlg = Boolean.TRUE;
    private Long[] deleteId;
    private String csvTitleIds;
    private String csvRoleIds;
    private String				userFlag = Constants.ORG_USER_FLG_MANAGER_USER; //默认后台用户
    private List empList;
    private List titleList;
    private List roleList;
    private List allRoles;
    private List usedRoles;
    private List allTitles;
    private List usedTitles;

    private boolean tuser ;
    private String currentTab ;
    private String markp ; 
    private String oldLoginName ; 
    private String oldEmpCode ; 
    private byte roleType ; 
    private String principalIds ; 
    private String roleName ;
    
    //身份证照片
    private FormFile idPhone1ff ; 
    private FormFile idPhone2ff ; 
    private String    phoneFlg ; 
	public List getTitleList() {
        return titleList;
    }

    public void setTitleList(List titleList) {
        this.titleList = titleList;
    }

    public List getRoleList() {
        return roleList;
    }

    public void setRoleList(List roleList) {
        this.roleList = roleList;
    }

    public String getCsvRoleIds() {
        return csvRoleIds;
    }

    public void setCsvRoleIds(String csvRoleIds) {
        this.csvRoleIds = csvRoleIds;
    }

    public String getCsvTitleIds() {
        return csvTitleIds;
    }

    public void setCsvTitleIds(String csvTitleIds) {
        this.csvTitleIds = csvTitleIds;
    }

    public List getEmpList() {
        return empList;
    }

    public void setEmpList(List empList) {
        this.empList = empList;
    }

    public Long[] getDeleteId() {
        return deleteId;
    }
    public void setDeleteId(Long[] deleteId) {
        this.deleteId = deleteId;
    }
    public Long getGrpId() {
        return grpId;
    }
    public void setGrpId(Long grpId) {
        this.grpId = grpId;
    }
    public String getTitleName() {
        return titleName;
    }
    public void setTitleName(String titleName) {
        this.titleName = titleName;
    }
    public String getLoginName() {
        return loginName;
    }
    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public Long getEmpId() {
        return empId;
    }
    public void setEmpId(Long empId) {
        this.empId = empId;
    }
    public Long getUserId() {
        return userId;
    }
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public String getEmpCode() {
        return empCode;
    }
    public void setEmpCode(String empCode) {
        this.empCode = empCode;
    }
    public String getEmpName() {
        return empName;
    }
    public void setEmpName(String empName) {
        this.empName = empName;
    }
    public String getUseLan() {
        return useLan;
    }
    public void setUseLan(String useLan) {
        this.useLan = useLan;
    }
    public String getHomeTelArea() {
        return homeTelArea;
    }
    public void setHomeTelArea(String homeTelArea) {
        this.homeTelArea = homeTelArea;
    }
    public String getHomeTel() {
        return homeTel;
    }
    public void setHomeTel(String homeTel) {
        this.homeTel = homeTel;
    }
    public String getComTelArea() {
        return comTelArea;
    }
    public void setComTelArea(String comTelArea) {
        this.comTelArea = comTelArea;
    }
    public String getComTel() {
        return comTel;
    }
    public void setComTel(String comTel) {
        this.comTel = comTel;
    }
    public String getLinkTelArea() {
        return linkTelArea;
    }
    public void setLinkTelArea(String linkTelArea) {
        this.linkTelArea = linkTelArea;
    }
    public String getLinkTel() {
        return linkTel;
    }
    public void setLinkTel(String linkTel) {
        this.linkTel = linkTel;
    }
    public String getMobile() {
        return mobile;
    }
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    public String getIdType() {
        return idType;
    }
    public void setIdType(String idType) {
        this.idType = idType;
    }
    public String getIdNo() {
        return idNo;
    }
    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }
    public String getNativPlace() {
        return nativPlace;
    }
    public void setNativPlace(String nativPlace) {
        this.nativPlace = nativPlace;
    }
    public String getNativAddr() {
        return nativAddr;
    }
    public void setNativAddr(String nativAddr) {
        this.nativAddr = nativAddr;
    }
    public String getLinkAddr() {
        return linkAddr;
    }
    public void setLinkAddr(String linkAddr) {
        this.linkAddr = linkAddr;
    }
    public String getLinkZip() {
        return linkZip;
    }
    public void setLinkZip(String linkZip) {
        this.linkZip = linkZip;
    }

    public String getSex() {
        return sex;
    }
    public void setSex(String sex) {
        this.sex = sex;
    }
    public String getBirth() {
        return birth;
    }
    public void setBirth(String birth) {
        this.birth = birth;
    }
    public String getBloodType() {
        return bloodType;
    }
    public void setBloodType(String bloodType) {
        this.bloodType = bloodType;
    }
    public String getEduLevel() {
        return eduLevel;
    }
    public void setEduLevel(String eduLevel) {
        this.eduLevel = eduLevel;
    }
    public String getEmail() {
        return email;
    }
    public void setEmail(String email) {
        this.email = email;
    }
    public String getJobState() {
        return jobState;
    }
    public void setJobState(String jobState) {
        this.jobState = jobState;
    }
    public Long getTitleId ( ) {
		return titleId;
	}
	public void setTitleId ( Long titleId ) {
		this.titleId = titleId;
	}
	public String getRmk() {
        return rmk;
    }
    public void setRmk(String rmk) {
        this.rmk = rmk;
    }
    public String getMarkp ( ) {
		return markp;
	}
	public void setMarkp ( String markp ) {
		this.markp = markp;
	}
	public Boolean getWorkFlg() {
        return workFlg;
    }
    public void setWorkFlg(Boolean workFlg) {
        this.workFlg = workFlg;
    }
    public boolean isValidEmpId() {
        return empId != null && empId.longValue() != 0L;
    }
    public void setAllRoles(List allRoles) {
        this.allRoles = allRoles;
    }
    public void setUsedRoles(List usedRoles) {
        this.usedRoles = usedRoles;
    }
    public List getAllTitles() {
        return allTitles;
    }
    public void setAllTitles(List allTitles) {
        this.allTitles = allTitles;
    }
    public List getUsedTitles() {
        return usedTitles;
    }
    public void setUsedTitles(List usedTitles) {
        this.usedTitles = usedTitles;
    }
    public List getAllRoles() {
        return allRoles;
    }
    public List getUsedRoles() {
        return usedRoles;
    }
	public boolean isTuser ( ) {
		return tuser;
	}
	public void setTuser ( boolean tuser ) {
		this.tuser = tuser;
	}
	public String getCurrentTab ( ) {
		return currentTab;
	}
	public void setCurrentTab ( String currentTab ) {
		this.currentTab = currentTab;
	}
	public String getOldLoginName ( ) {
		return oldLoginName;
	}
	public void setOldLoginName ( String oldLoginName ) {
		this.oldLoginName = oldLoginName;
	}
	public byte getRoleType ( ) {
		return roleType;
	}
	public void setRoleType ( byte roleType ) {
		this.roleType = roleType;
	}

	public String getPrincipalIds ( ) {
		return principalIds;
	}

	public String getRoleName ( ) {
		return roleName;
	}

	public void setRoleName ( String roleName ) {
		this.roleName = roleName;
	}

	public void setPrincipalIds ( String principalIds ) {
		this.principalIds = principalIds;
	}

	public String getOldEmpCode ( ) {
		return oldEmpCode;
	}

	public void setOldEmpCode ( String oldEmpCode ) {
		this.oldEmpCode = oldEmpCode;
	}

	public Date getStartDate ( ) {
		return startDate;
	}

	public void setStartDate ( Date startDate ) {
		this.startDate = startDate;
	}

	public Date getEndDate ( ) {
		return endDate;
	}

	public void setEndDate ( Date endDate ) {
		this.endDate = endDate;
	}

	public FormFile getIdPhone1ff ( ) {
		return idPhone1ff;
	}

	public void setIdPhone1ff ( FormFile idPhone1ff ) {
		this.idPhone1ff = idPhone1ff;
	}

	public FormFile getIdPhone2ff ( ) {
		return idPhone2ff;
	}

	public void setIdPhone2ff ( FormFile idPhone2ff ) {
		this.idPhone2ff = idPhone2ff;
	}

	public String getPhoneFlg ( ) {
		return phoneFlg;
	}

	public void setPhoneFlg ( String phoneFlg ) {
		this.phoneFlg = phoneFlg;
	}

	public String getUserFlag ( ) {
		return userFlag;
	}

	public void setUserFlag ( String userFlag ) {
		this.userFlag = userFlag;
	}

}
